package com.star.common.mq.kafka.core;

/**
 * 字符串序列化
 *
 * @author zhouhengzhe
 */
public interface StringSerializable {

    <T> T deserialize(String src, Class<T> dist) throws Exception;

    String serialize(Object src) throws Exception;

}
